dir *.c >C:\Users\Administrator\Desktop\c.txt